from nodetypes.formats.mml.Events import EventsTransform, CancelEventHandler

from libmml import \
    reset, \
    commit


class EventsTransform(EventsTransform):
    
    events = ({
        'reset'         : (reset.EventHandler, None),
        'commit'        : (commit.EventHandler, None),
        'cancel'        : (CancelEventHandler, None),
        },
    )
    
    submitEvents = (
        ('commit','cancel',),
    )
    
    
del CancelEventHandler, reset, commit